// RatedPlayer.cc
// Created by liushuai on 18-8-6.
//

#include "RatedPlayer.hpp"
#include "tabtenn.hpp"
RatedPlayer::RatedPlayer(unsigned int r, const string &fn, const string &ln, bool ht)  : TableTennisPlayer(fn,ln,ht) {
    rating = r;
}
RatedPlayer::RatedPlayer(unsigned int r, const TableTennisPlayer &tp) : TableTennisPlayer(tp) {
    rating = r;
}
unsigned int RatedPlayer::Rating() const {
    return  rating;
}
void RatedPlayer::ResetRating(unsigned int r) {
    rating = r;
}